operator (*) Interface

public interface operator (*)

operator (*)

Applies this arithmetic operation to hyperdual values and supported real/integer operands, propagating derivative coefficients.

Description

The generic interface selects a type-specific implementation based on the argument types.

Examples

z = x * y

Calls

interface~~operator (ASTERISK)~~CallsGraph interface~operator (ASTERISK) operator (*) proc~multiplyhyperdualhyperdual MultiplyHyperDualHyperDual interface~operator (ASTERISK)->proc~multiplyhyperdualhyperdual proc~multiplyhyperdualint MultiplyHyperDualInt interface~operator (ASTERISK)->proc~multiplyhyperdualint proc~multiplyhyperdualreal MultiplyHyperDualReal interface~operator (ASTERISK)->proc~multiplyhyperdualreal proc~multiplyinthyperdual MultiplyIntHyperDual interface~operator (ASTERISK)->proc~multiplyinthyperdual proc~multiplyrealhyperdual MultiplyRealHyperDual interface~operator (ASTERISK)->proc~multiplyrealhyperdual

Module Procedures

public elemental function MultiplyHyperDualHyperDual(v1, v2) result(v3)

Multiply operands.

Read more…

Arguments

Type IntentOptional Attributes Name
type(hyperdual), intent(in) :: v1

First input operand.

type(hyperdual), intent(in) :: v2

Second input operand.

Return Value type(hyperdual)

public elemental function MultiplyHyperDualReal(v1, v2) result(v3)

Multiply operands.

Read more…

Arguments

Type IntentOptional Attributes Name
type(hyperdual), intent(in) :: v1

First input operand.

real(kind=pr), intent(in) :: v2

Second input operand.

Return Value type(hyperdual)

public elemental function MultiplyRealHyperDual(v1, v2) result(v3)

Multiply operands.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=pr), intent(in) :: v1

First input operand.

type(hyperdual), intent(in) :: v2

Second input operand.

Return Value type(hyperdual)

public elemental function MultiplyHyperDualInt(v1, v2) result(v3)

Multiply operands.

Read more…

Arguments

Type IntentOptional Attributes Name
type(hyperdual), intent(in) :: v1

First input operand.

integer, intent(in) :: v2

Second input operand.

Return Value type(hyperdual)

public elemental function MultiplyIntHyperDual(v1, v2) result(v3)

Multiply operands.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: v1

First input operand.

type(hyperdual), intent(in) :: v2

Second input operand.

Return Value type(hyperdual)